import request from '@/router/axios';
import {baseUrl} from '@/config/env';
import website from "@/config/website";


//按天统计进出料重量 默认只查近10天的数据
export const countFeedingDischargeWeightByDay = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/countFeedingDischargeWeightByDay',
    method: 'get',
    params: {
      ...params,
    }
  })
}

//实时播报管理预警处理
export const faultDeal = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/faultDeal',
    method: 'get',
    params: {
      ...params,
    }
  })
}

//分类质量统计
export const getClassifiedQualityStatistics = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/getClassifiedQualityStatistics',
    method: 'get',
    params: {
      ...params,
    }
  })
}

//就地化处理 默认查全量历史数据
export const getGarbagDisposalDeviceStatistics = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/getGarbagDisposalDeviceStatistics',
    method: 'get',
    params: {
      ...params,
    }
  })
}


//前端垃圾分类 默认查全量历史数据
export const getGarbageSortDeviceStatistics = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/getGarbageSortDeviceStatistics',
    method: 'get',
    params: {
      ...params,
    }
  })
}



//实时投放播报
export const listRealTimeDeliverReport = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/listRealTimeDeliverReport',
    method: 'get',
    params: {
      ...params,
    }
  })
}


//实时播报管理预警
export const listRealTimeFaultReport = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/listRealTimeFaultReport',
    method: 'get',
    params: {
      ...params,
    }
  })
}

//实时播报管理预警
export const listRealTimeFeedingDischargeReport = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/listRealTimeFeedingDischargeReport',
    method: 'get',
    params: {
      ...params,
    }
  })
}


//垃圾投递量 按月统计
export const getDeliverGarbageMonthWeight = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/getDeliverGarbageMonthWeight',
    method: 'get',
    params: {
      ...params,
    }
  })
}

//垃圾投递量 按地区统计
export const getDeliverGarbageRegionWeight = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/getDeliverGarbageRegionWeight',
    method: 'get',
    params: {
      ...params,
    }
  })
}

//三化统计 按月统计
export const getThreeIndexStatistics = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/getThreeIndexStatistics',
    method: 'get',
    params: {
      ...params,
    }
  })
}

//三化统计 按地区统计
export const getThreeIndexRegionStatistics = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/getThreeIndexRegionStatistics',
    method: 'get',
    params: {
      ...params,
    }
  })
}

//查询地图上的站点信息
export const listSiteInfo = (params) => {
  return request({
    url: '/api/blade-device/bigscreen/listSiteInfo',
    method: 'get',
    params: {
      ...params,
    }
  })
}
